package chapter02;

public class Work {

	public static void main(String[] args) {
		//89个小时是多少天?多少的小时?
			
			int hour = 89;
			
			int day = (int)hour / 24;
			int time = (int)hour % 24;
			
			System.out.println(day + "天");
			System.out.println(time + "小时");

		}

}
